#include "stdafx.h"
#include "XFileMapBufferImpl.h"

IMPLEMENT_SKIN_CLASS(CXFileMapBufferImpl);

void CXFileMapBufferImpl::ReleaseData()
{
    if(m_pData != NULL)
    {
        UnmapViewOfFile(m_pData);

        m_pData = NULL;
        m_dwSize = 0;
        m_dwOffset = 0;
    }
}
